Find out the number of cpus usingΒΆ

Find out the number of cpus using.
import multiprocessing

print(multiprocessing.cpu_count())

Output:

4